/*
 * @Author: Jie
 * @LastEditors: Jie
 * @Date: 2021-05-10 08:51:34
 * @LastEditTime: 2021-06-02 09:16:48
 * @Description:
 * @Email: 18521721605@163.com
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;



import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);


// import mixin from './views/mixin/index'
// Vue.mixin(mixin)

//富文本编辑器
// import editorBar from "@/components/wangEnduit";
// Vue.component('editorBar', editorBar)

// animate的引用
import animated from 'animate.css';
Vue.use(animated)

// axios
import server from './axios/index.js'
Vue.prototype.$http = server


// 全局css
import './styles/reset.css'
import './styles/style.css'

//全局过滤器
import * as filters from './filters'
Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
})

//vue的  prototype 原型

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
